package com.bianxianmao.duobao.activity;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;

import com.bianxianmao.R;


public class NewrechargeActivity extends Activity {

    private Button recharge;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_newrecharge);
        initView();
        initListener();

    }

    private void initView() {
        recharge = (Button) findViewById(R.id.btn_recharge);
    }

    private void initListener() {
        recharge.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                Intent intent = new Intent(NewrechargeActivity.this, RechargeActivity.class);
                startActivity(intent);
            }
        });

    }
}
